#!/bin/bash

# 项目路径
PROJECT_PATH='/var/www/demo'

echo $PROJECT_PATH

# # web 站点的部署目录
# WEB_PATH="${PROJECT_PATH}/web"
# # web 站点的备份目录
# WEB_BACKUP_PATH="${PROJECT_PATH}/web_backup"

# # # server 服务的部署目录
# SERVER_PATH="${PROJECT_PATH}/server"
# SERVER_BACKUP_PATH="${PROJECT_PATH}/server_backup"

# # 准备好待更新的包
# WEB_ZIP_FROM_URL="${PROJECT_PATH}/server/uploads/up/service/dist.zip"
# WEB_ZIP_TO_URL="${PROJECT_PATH}/web_up_dist.zip"
# move $WEB_ZIP_FROM_URL $WEB_ZIP_TO_URL

# # 备份原代码
# cp -r $WEB_PATH $WEB_BACKUP_PATH

